#pragma once

#include "Control_Text.h"

namespace gui
{
	class Renderer;

	class Control_MenuBar : public Control_Text
	{
	public:
		Control_MenuBar(std::string NewCaption, Vec<2, float> NewFontSize, ColorRGBA<unsigned char> NewForeColor, ColorRGBA<unsigned char> NewBackColor, Vec<2, float> NewPos, Vec<2, float> NewSize, Control_Menu* NewParentMenu, Host& NewParentHost);
		virtual ~Control_MenuBar(void);

	protected:
		virtual void MouseDownLeft();

		virtual void UpdateVerticesFix(RendererComponent& Renderer);
		virtual void UpdateVerticesSlow(RendererComponent& Renderer){};
	};

}